#ifndef _MEGA_DUMMYWEAPON_H_
#define _MEGA_DUMMYWEAPON_H_

#include "Globals.h"
#include "GameObject.h"

#include <SFML/Graphics/CircleShape.hpp>
#include <vector>


namespace mega
{

// forward declarations
class DummyBullet;
/**
 * Dummy test class for actors weapons.
 * Contains vector of bullets and parameters they are created with.
 */
class DummyWeapon
	: public GameObject
{
public:
	DummyWeapon();
	virtual ~DummyWeapon();
	
	DummyWeapon(const DummyWeapon & _rhs);
	DummyWeapon & operator=(const DummyWeapon & _rhs);
	
public:
	// game object interface
	virtual void move(const Position & _offset);
	virtual void render(RenderTarget & _target);

	virtual void createBullet(const Position & _direction);
	virtual void updateState();

private:
	sf::CircleShape           m_shape;
	std::vector<DummyBullet*> m_bullets;
	float                     m_acceleration;
	float                     m_bulletSize;
};

}

#endif // _MEGA_DUMMYWEAPON_H_
